package com.demo.apply.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.demo.apply.model.TDApply;
import com.demo.apply.model.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 申请表 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2021-11-10
 */
public interface ApiMapper{

    Long getTotalCount(Map<String, Object> paramMap);

    List<Map<String, Object>> getMapListByParam(Map<String, Object> paramMap);


    void addItem(Map item);

    void updateItem(Map item);

    Map getItemByParam(Map param);

    void deleteItemsByParam(@Param("table")String table,@Param("ids") List<String>ids);

    List<Integer> getStatistics();

    void addVisitLog(Map param);
}
